OBJ = main.o
TARGET = all

$(TARGET):$(OBJ)

	$(CC) $(OBJ) -o main

main.o :main.c
	$(CC) -c $^

clean:
	$(RM) *.o main

